package com.twu.biblioteca;

import java.util.HashMap;
import java.util.Map;

/**
 * Created with IntelliJ IDEA.
 * User: thoughtworker
 * Date: 10/10/13
 * Time: 10:55 AM
 * To change this template use File | Settings | File Templates.
 */
public class BookMap<K, V> extends HashMap<K, V> {

    public BookMap() {
        super();
    }

    @Override
    public final String toString() {
        String stringOfKeys = "";
        for (K bookNames: this.keySet()) {
            stringOfKeys += bookNames + "\n";
        }
        return stringOfKeys;
    }
}
